package com.zzh.structuredeployment.bean;

import com.zzh.custom.LevelSelectView;

import java.util.List;

/**
 * @author zhangzhihao
 * @email zhangzhihao@gongjiangren.net
 * @date 2020-09-30
 * @desc
 */
public class SelectTestBean implements LevelSelectView.SelectMoudle {


    private String name;
    private List<SelectTestBean> selectTestBeans;

    private boolean mIsSelect;

    public String getName() {
        return name;
    }

    public List<SelectTestBean> getSelectTestBeans() {
        return selectTestBeans;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSelectTestBeans(List<SelectTestBean> selectTestBeans) {
        this.selectTestBeans = selectTestBeans;
    }

    @Override
    public String getSelectName() {
        return name;
    }

    @Override
    public List<? extends LevelSelectView.SelectMoudle> getChildSelectMoudles() {
        return selectTestBeans;
    }

    @Override
    public boolean isIgnoreChilds() {
        return false;
    }

    @Override
    public boolean isSelect() {
        return mIsSelect;
    }

    @Override
    public void setSelect(boolean isSelect) {
        mIsSelect = isSelect;
    }
}
